package bookstore.database.pojo;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * BuyTable entity. @author MyEclipse Persistence Tools
 */

public class BuyTable implements java.io.Serializable {

	// Fields

	private BigDecimal customerId;
	private Customer customer;
	private String bookName;
	private Timestamp addedDate;

	// Constructors

	/** default constructor */
	public BuyTable() {
	}

	/** full constructor */
	public BuyTable(BigDecimal customerId, Customer customer, String bookName,
			Timestamp addedDate) {
		this.customerId = customerId;
		this.customer = customer;
		this.bookName = bookName;
		this.addedDate = addedDate;
	}

	// Property accessors

	public BigDecimal getCustomerId() {
		return this.customerId;
	}

	public void setCustomerId(BigDecimal customerId) {
		this.customerId = customerId;
	}

	public Customer getCustomer() {
		return this.customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public String getBookName() {
		return this.bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public Timestamp getAddedDate() {
		return this.addedDate;
	}

	public void setAddedDate(Timestamp addedDate) {
		this.addedDate = addedDate;
	}

}